﻿<?php 
$user=ss_Main::getUser();
if(isset($user->id)||sscls_Request::getRequest('t')=='proccesslogin'){
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-gb" xmlns="http://www.w3.org/1999/xhtml" lang="en-gb"><head>

  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Welcome to Nam Thanh</title>
  <link href="http://templates.joomlart.com/ja_seleni/templates/ja_seleni/favicon.ico" rel="shortcut icon" type="image/x-icon">
  <link rel="stylesheet" href="<?php echo SITELIVE ?>tmpl/default/images/ja_002.css" type="text/css">

<link rel="stylesheet" href="<?php echo SITELIVE ?>tmpl/default/images/addons.css" type="text/css">
<link rel="stylesheet" href="<?php echo SITELIVE ?>tmpl/default/images/layout.css" type="text/css">
<link rel="stylesheet" href="<?php echo SITELIVE ?>tmpl/default/images/template.css" type="text/css">

<script type="text/javascript">
var siteurl='http://templates.joomlart.com/ja_seleni/';
var tmplurl='http://templates.joomlart.com/ja_seleni/templates/ja_seleni';
</script>

<style type="text/css">.ja-movable-container{visibility: hidden;}</style>


<link href="<?php echo SITELIVE ?>tmpl/default/images/split.css" rel="stylesheet" type="text/css"><script src="Welcome%20to%20the%20Frontpage_files/split.js" language="javascript" type="text/javascript"></script>
<link href="<?php echo SITELIVE ?>tmpl/default/images/default.css" rel="stylesheet" type="text/css">


<script language="javascript" type="text/javascript">
var rightCollapseDefault='show';
var excludeModules='38';
</script>

<!--Width of template -->
<style type="text/css">
.main {width: 950px;margin: 0 auto;}
#ja-wrapper {min-width: 951px;}
</style>

</head>
<body class="fs3 FF" id="bd">
<div id="ja-wrapper">

<div class="wrap" id="ja-subnav">
<div class="main clearfix">
	<div class="sublevel">
		<ul class="active">
			<li class=" last-item"><a title="Products" id="menu48" class=" last-item" href="index.php?c=product"><span style="background-image: url('<?php echo TMPL_URL_CURRENT ?>images/mc2_moto.png');" class="has-image"><span class="menu-title">Sản phẩm</span></span></a></li>
			<li class=""><a title="News Feeds" id="menu49" href="index.php?c=article"><span style="background-image: url('<?php echo TMPL_URL_CURRENT ?>images/article_text.png');" class="has-image"><span class="menu-title">Bài viết</span></span></a></li>
			<li class=" last-item"><a title="Web Links" id="menu48"  href="index.php?c=category"><span style="background-image: url('<?php echo TMPL_URL_CURRENT ?>images/category.png');" class="has-image"><span class="menu-title">Quản lý danh mục</span></span></a></li>
			<li class=" last-item"><a title="Web Links" id="menu48" class=" last-item" href="index.php?c=user"><span style="background-image: url('<?php echo TMPL_URL_CURRENT ?>images/people.png');" class="has-image"><span class="menu-title">Quản lý nhân viên</span></span></a></li>
			<li class=" last-item"><a title="Web Links" id="menu48" class=" last-item" href="index.php?c=custommer"><span style="background-image: url('<?php echo TMPL_URL_CURRENT ?>images/customers.png');" class="has-image"><span class="menu-title">Quản lý khách hàng</span></span></a></li>
			<li class=""><a title="Web Links" id="menu48" class=" last-item" href="index.php?c=user&t=logout"><span style="background-image: url('<?php echo TMPL_URL_CURRENT ?>images/exit.png');" class="has-image"><span class="menu-title">Đăng xuất</span></span></a></li>
			<li class=""><a title="Web Links" id="menu48" class=" last-item" href="http://localhost/doanduc/" target="_blank"><span style="background-image: url('<?php echo TMPL_URL_CURRENT ?>images/site.png');" class="has-image"><span class="menu-title">Xem site</span></span></a></li>
		</ul>
	</div>
</div>
</div>

<div class="wrap" id="ja-breadcrumbs">
	<div class="main">
		<div class="inner clearfix">
			<strong>Xin Chào: </strong><b><?php echo $user->name ?></b>
		</div>
	</div>
</div>
<?php sscls_File::load(PATH_TMPL.TMPL.DS.'msg.php'); ?>
<!-- //BREADCRUMBS -->
	
<!-- MAIN CONTAINER -->

<div class="main clearfix">
<div id="ja-mainbody" style="width: 100%;">
	<!-- CONTENT -->
	<div id="ja-main" style="width: 100%;">
	<?php $this->loadcom(); ?>
		<!--<div class="inner clearfix">
			<div id="ja-contentwrap" class="">
				<div id="ja-content" class="column" style="width: 100%;">
					<div class="jazin-section clearfix">
						<a title="" href="http://templates.joomlart.com/ja_seleni/index.php?option=com_content&amp;view=category&amp;id=37:computers&amp;layout=blog&amp;Itemid=110">
							<span>Computers</span>
						</a>
					</div>
				</div>
			</div>
		</div>-->
	</div>
</div>
</div>



<div class="wrap" id="ja-footer">
	<div class="main">				
		<div class="inner">
			<div class="ja-copyright">
				<small style="color:white;">Copyright &copy; 2011 Công ty TNHH TM - DV Nam Thành</small>
			</div>
		</div>
	</div>
</div>
</div>
</body>
</html>

<?php }else{ ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-gb" xmlns="http://www.w3.org/1999/xhtml" lang="en-gb"><head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta name="robots" content="index, follow">
  <meta name="keywords" content="joomla, Joomla">
  <meta name="description" content="Joomla! - the dynamic portal engine and content management system">
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management">
  <title>Welcome to Nam Thanh</title>
  <link href="http://templates.joomlart.com/ja_seleni/templates/ja_seleni/favicon.ico" rel="shortcut icon" type="image/x-icon">
  <link rel="stylesheet" href="<?php echo SITELIVE ?>tmpl/default/images/ja_002.css" type="text/css">

<link rel="stylesheet" href="<?php echo SITELIVE ?>tmpl/default/images/addons.css" type="text/css">
<link rel="stylesheet" href="<?php echo SITELIVE ?>tmpl/default/images/layout.css" type="text/css">
<link rel="stylesheet" href="<?php echo SITELIVE ?>tmpl/default/images/template.css" type="text/css">

<script type="text/javascript">
var siteurl='http://templates.joomlart.com/ja_seleni/';
var tmplurl='http://templates.joomlart.com/ja_seleni/templates/ja_seleni';
</script>

<script language="javascript" type="text/javascript" src="<?php echo SITELIVE ?>tmpl/default/images/ja_005.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo SITELIVE ?>tmpl/default/images/ja_003.js"></script><style type="text/css">.ja-movable-container{visibility: hidden;}</style>

<link href="images/split.css" rel="stylesheet" type="text/css"><script src="Welcome%20to%20the%20Frontpage_files/split.js" language="javascript" type="text/javascript"></script>
<link href="images/default.css" rel="stylesheet" type="text/css">


<script language="javascript" type="text/javascript">
var rightCollapseDefault='show';
var excludeModules='38';
</script>
<script language="javascript" type="text/javascript" src="<?php echo SITELIVE ?>tmpl/default/images/ja_002.js"></script>

<!--Width of template -->
<style type="text/css">
.main {width: 950px;margin: 0 auto;}
#ja-wrapper {min-width: 951px;}
</style>

</head>
<body class="fs3 FF" id="bd">
<div align="center">
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<div class="loginform">
<p class="logintitle">Đăng nhập vào tài khoản quản trị!</p>
			
<form id="form-login" name="form-login" method="post" action="index.php">
		<fieldset class="input">
	<p id="form-login-username">
		<label for="username">
			<input type="text" onblur="if(this.value=='')this.value='Username';" onfocus="if(this.value=='Username')this.value='';" size="18" value="Username" alt="username" class="inputbox" id="username" name="username">
		</label>
	</p>
	<p id="form-login-password">
		<label for="passwd">
			<input type="password" onblur="if(this.value=='')this.value='Password';" onfocus="if(this.value=='Password')this.value='';" alt="password" value="Password" size="18" class="inputbox" id="passwd" name="password">
		</label>
	</p>
		<input type="submit" value="Login" class="button" name="Submit">
	</fieldset>
	<input type="hidden" value="user" name="c">
	<input type="hidden" value="proccesslogin" name="t">
</form>

</div>
</div>
</body>
</html>
<?php }?>